import 'package:favorcate/ui/shared/size_fit.dart';
import 'package:flutter/material.dart';

class JKOPerationItem extends StatelessWidget {
  
  final Widget _icon;
  final String _title;
  final Color textColor;
  
  JKOPerationItem(this._icon, this._title, {this.textColor = Colors.black});
  
  @override
  Widget build(BuildContext context) {
    return Container(
      // width: 100.px,
      padding: EdgeInsets.symmetric(vertical: 12.px),
      // color: Colors.red,
      child: Row(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          _icon,
          SizedBox(width: 3.px,),
          Text(_title,style: TextStyle(color: textColor, fontSize: 16.px))
        ],
      ),
    );
  }
}
